<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
    a {
        position: relative;
        display: inline-block;

        }

        a:hover::before, a:hover::after { position: absolute; }
        a:hover::before { content: "bbb"; left: -20px; }
        a:hover::after { content: "eee"; right:  -20px; }
    </style>
</head>
<body>
    <a href="####">sdfsf</a>
</body>
</html>